<!DOCTYPE html>
<html lang="en">
<head>
    {include file="public/header" /}
    <script type="application/x-javascript">
        addEventListener("load", function () {
            setTimeout(hideURLbar, 0);
        }, false);

        function hideURLbar() {
            window.scrollTo(0, 1);
        }
    </script>
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Rambla:400,400italic,700,700italic' rel='stylesheet'
          type='text/css'>
    <script type="text/javascript">
        jQuery(document).ready(function ($) {
            $(".scroll").click(function (event) {
                event.preventDefault();
                $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1000);
            });
        });
    </script>
</head>
<body>

<!--banner strat here-->
<div class="banner" id="banner">
    <div class="container">
        <div class="banner-main">
            <div class="banner-text">
                <a href="javascript:void(0);">
                    <div class="logo">
                        <h1>初五 后花园</h1>
                        <p>初五和它的后宫们发生的故事.</p>
                    </div>
                </a>
            </div>
            <h3>我们保留了它男人最后的尊严,为他留住的它的罗卜丁,这导致小仙女损失了一个萝卜丁.</h3>
        </div>
    </div>
</div>
<!--baner end here-->
<!--header start here-->
<div class="header-bottom">
    <div class="fixed-header">
        <div class="container">
            <div class="header-main">
                <div class="header-left">
                    <h2><a href="javascript:void(0);">宠物天堂</a></h2>
                </div>
                <div class="header-left img">
                    <a href="{:url('/member')}"><img src="{$member.picture}" alt=""></a>
                </div>
                <div class="header-left h5">
                    <h5>{$member.nickname}</h5>
                </div>
                <div class="header-right">
                    <div class="top-nav">
                        <span class="menu"><img src="__IMG__/pet/menu.png" alt=""/></span>
                        <ul class="nav1">
                            <li><a href="#" class="active">主页</a></li>
                            <li><a class="scroll" href="#about">关于</a></li>
                            <li><a class="scroll" href="#services">宠物图鉴</a></li>
                            <li><a class="scroll" href="#gallery">精彩时刻</a></li>
                            <li><a class="scroll" href="#contact">上传故事</a></li>
                            <li><a class="loginOut" href="javascript:loginOut();">安全退出</a></li>
                        </ul>
                        <!-- script-for-menu -->
                        <script>
                            $("span.menu").click(function () {
                                $("ul.nav1").slideToggle(300, function () {
                                    // Animation complete.
                                });
                            });
                        </script>
                        <!-- /script-for-menu -->
                        <!-- script-for sticky-nav -->
                        <script>
                            $(document).ready(function () {
                                var navoffeset = $(".header-bottom").offset().top;
                                $(window).scroll(function () {
                                    var scrollpos = $(window).scrollTop();
                                    if (scrollpos >= navoffeset) {
                                        $(".header-bottom").addClass("fixed");
                                    } else {
                                        $(".header-bottom").removeClass("fixed");
                                    }
                                });

                            });
                        </script>
                        <!-- /script-for sticky-nav -->
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!--header end here-->
<!--About strat here-->
<div class="about" id="about">
    <div class="container">
        <div class="about-main">
            <h3>关于</h3>
            <div class="col-md-6 about-left">
                <img src="__IMG__/pet/a1.png" alt="" class="img-responsive">
            </div>
            <div class="col-md-6 about-right">
                <h4>这里是标题</h4>
                <h5>简介吧</h5>
                <p>更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介</p>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!--About text end here-->
<!--pets show strat here-->
<div class="pets-show">
    <div class="container">
        <section class="slider">
            <div class="flexslider">
                <ul class="slides">
                    {for start="1" end="5" name="v"}
                    <li>
                        <div class="pets-show-main">
                            <div class="col-md-6 pets-show-left">
                                <h3>这里是标题 {$v}</h3>
                                <h4>简介吧{$v}</h4>
                                <p>{$v}:更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介更长的简介</p>
                            </div>
                            <div class="col-md-6 pets-show-right">
                                <img src="__IMG__/pet/p{$v}.png" alt="" class="img-responsive">
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </li>
                    {/for}
                </ul>
            </div>
        </section>
    </div>
</div>


<!--pets show end here-->
<!-- FlexSlider -->
<script defer src="__JS__/jquery.flexslider.js"></script>
<script type="text/javascript">
    $(function () {

    });
    $(window).load(function () {
        $('.flexslider').flexslider({
            animation: "slide",
            start: function (slider) {
                $('body').removeClass('loading');
            }
        });
    });
</script>
<!-- FlexSlider -->

<!--services start here-->
<div class="services" id="services">
    <div class="container">
        <div class="services-main">
            <div class="ser-top">
                <h3>宠物图鉴</h3>
            </div>
            <div class="ser-bottom">
                {for start="1" end="7" name="v"}
                <div class="col-md-4 ser-grid">
                    <div class="view view-first">
                        <img src="__IMG__/pet/s{$v}.png"/>
                        <div class="mask">
                            <h2>Pets</h2>
                        </div>
                    </div>
                    <h4>{$v}宠物名称</h4>
                    <p>{$v}宠物描述</p>
                    <div class="ser-btn">
                        <a href="javascript:void(0);">Learn More</a>
                    </div>
                </div>
                {/for}
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
</div>
<!--services end here-->
<!--service call strat here-->
<div class="service-call">
    <div class="container">
        <div class="service-call-main">
            <div class="services-call-left">
                <h4>Nor again is there anyone who loves</h4>
                <p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was
                    born and I will give you a complete account of the system</p>
            </div>
            <div class="services-call-right">
                <a href="single.html">Read More</a>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!--service call end here-->
<!---gallery strat here-->
<div id="gallery" class="gallery">
    <div class="container">
        <h3 class="tittle need_col">精彩时刻</h3>
        <div class="gallery-grids">
            {for start="1" end="4"}
            <div class="gallery-grid">
                {for start="1" end="4" name="v"}
                {php}
                $num = ($i-1)*3+$v;
                {/php}
                <div class="gallery-img slideanim">
                    <figure class="effect-jazz">
                        <a href="#portfolioModal{$num}" data-toggle="modal">
                            <img src="__IMG__/pet/g{$num}.jpg" alt="img{$num}" class="img-responsive"/>
                        </a>
                    </figure>
                </div>
                {/for}
            </div>
            {/for}
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<!-- Portfolio Modals -->
{for start="1" end="10" name="v"}
<div class="portfolio-modal modal fade slideanim" id="portfolioModal{$v}" tabindex="-1" role="dialog"
     aria-hidden="true">
    <div class="modal-content">
        <div class="close-modal" data-dismiss="modal">
            <div class="lr">
                <div class="rl"></div>
            </div>
        </div>
        <div class="container">

            <div class="col-lg-8 col-lg-offset-2">
                <div class="modal-body">
                    <h3>宠物:{$v}</h3>
                    <img src="__IMG__/pet/g{$v}.jpg" class="img-responsive" alt="">
                    <p>宠物{$v}的描述:en the industry's standard dummy text.</p>
                </div>
            </div>

        </div>
    </div>
</div>
{/for}


<!-- /Portfolio Modals -->
<!-- //gallery -->
<!--contact strat-->
<div class="contact" id="contact">
    <div class="container">
        <div class="contact-main">
            <div class="contact-top">
                <h3>上传故事</h3>
            </div>
            <div class="contact-bottom">
                <div class="col-md-6 contact-left">
                    <form>
                        <p>选择宠物</p>
                        <input type="text" value="" onfocus="this.value = '';"
                               onblur="if (this.value == '') {this.value = '';}">
                        <p>标题</p>
                        <input type="text" value="" onfocus="this.value = '';"
                               onblur="if (this.value == '') {this.value = '';}">
                        <p>内容(待完善添加图片等)</p>
                        <textarea onfocus="this.value = '';"
                                  onblur="if (this.value == '') {this.value = '';}">  </textarea>
                        <input type="submit" value="发布">
                    </form>
                </div>
                <div class="col-md-6 contact-right">
                    <h4>上传故事</h4>
                    <p>描述你的宠物和你之间发生的事情.</p>
                    <ul>
                        <li><span class="glyphicon glyphicon-map-marker" aria-hidden="true"> </span> 上海 浦东新区</li>
                        <li><span class="glyphicon glyphicon-phone" aria-hidden="true"></span>+176 **** 1976</li>
                        <li><a href="mailto:example@email.com"><span class="glyphicon glyphicon-envelope"
                                                                     aria-hidden="true"> </span> *****@znn.com</a></li>
                    </ul>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
</div>
<!--contact end here-->
<!--footer strat here-->
<div class="footer">
    <div class="container">
        <div class="footer-main">
            <div class="col-md-3 footer-left">
                <h4>友情链接</h4>
                <ul>
                    <li><a href="#"><span class="pt-foot"> </span>友情链接</a></li>
                </ul>
            </div>
            <div class="col-md-3 footer-left">
                <h4>网站</h4>
                <ul>
                    <li><a class="scroll" href="#banner"><span class="pt-foot"> </span>主页</a></li>
                    <li><a class="scroll" href="#about"><span class="pt-foot"> </span>关于</a></li>
                    <li><a class="scroll" href="#services"><span class="pt-foot"> </span>宠物图鉴</a></li>
                    <li><a class="scroll" href="#gallery"><span class="pt-foot"> </span>精彩时刻</a></li>
                    <li><a class="scroll" href="#contact"><span class="pt-foot"> </span>发布故事</a></li>
                </ul>
            </div>

            <div class="col-md-3 footer-left">
                <h4>最新图片</h4>
                <div class="flickr">
                    <div class="f-one">
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f3.jpg" alt=""/></a>
                        </div>
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f4.jpg" alt=""/></a>
                        </div>
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f5.jpg" alt=""/></a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="f-one">
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f2.jpg" alt=""/></a>
                        </div>
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f1.jpg" alt=""/></a>
                        </div>
                        <div class="f-left">
                            <a href="javascript:void(0);"><img src="__IMG__/pet/f6.jpg" alt=""/></a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
        <div class="footer-text">
            <div class="ft-right">
                <p><a href="javascript:void(0);" target="_blank" title="初五之家">初五之家</a></p>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $().UItoTop({easingType: 'easeOutQuart'});
        });
    </script>
    <a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>

</div>
{include file="public/footer" /}
</body>
</html>

